﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SportsStore.Domain.Abstract;
using SportsStore.Domain.Entities;

namespace SportsStore.Domain.FakeRepository
{
    public class FakeProductRepository:IProductRepository
    {
        private IQueryable<Product> products = (new List<Product>{new Product { Name = "Football", Price = 25 },
new Product { Name = "Surf board", Price = 179 },
new Product { Name = "Running shoes", Price = 95 }}).AsQueryable();
        public IQueryable<Product> Products { get { return products; } }
        public void SaveProduct(Product product)
        {
            throw new NotImplementedException();
        }

        public void DeleteProduct(Product product)
        {
            throw new NotImplementedException();
        }
    }
}
